import 'package:flutter/material.dart';

class ChipDemo extends StatefulWidget {
  const ChipDemo({Key? key}) : super(key: key);

  @override
  _ChipDemoState createState() => _ChipDemoState();
}

class _ChipDemoState extends State<ChipDemo> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("ChipDemo"),
      ),
      body: Container(
        child: Center(
          child: Chip(
            avatar: CircleAvatar(
              foregroundColor: Colors.green.shade800,
              child: Text("AB"),
            ),
            label: Text("Aaron Burr"),
          ),
        ),
      ),
    );
  }
}
